package com.ruoyi.order.service;

import java.util.List;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.order.domain.StatisticCustomers;

/**
 * VIEWService接口
 *
 * @author ruoyi
 * @date 2021-07-08
 */
public interface IStatisticCustomersService
{
    /**
     * 查询VIEW
     *
     * @param companyName VIEWID
     * @return VIEW
     */
    public StatisticCustomers selectStatisticCustomersById(String companyName);

    /**
     * 查询VIEW列表
     *
     * @param statisticCustomers VIEW
     * @return VIEW集合
     */
    public List<StatisticCustomers> selectStatisticCustomersList(StatisticCustomers statisticCustomers, SysUser user);
    public List<StatisticCustomers> selectStatisticCustomersListWithoutPrices(StatisticCustomers statisticCustomers, SysUser user);
    /**
     * 新增VIEW
     *
     * @param statisticCustomers VIEW
     * @return 结果
     */
    public int insertStatisticCustomers(StatisticCustomers statisticCustomers);

    /**
     * 修改VIEW
     *
     * @param statisticCustomers VIEW
     * @return 结果
     */
    public int updateStatisticCustomers(StatisticCustomers statisticCustomers);

    /**
     * 批量删除VIEW
     *
     * @param companyNames 需要删除的VIEWID
     * @return 结果
     */
    public int deleteStatisticCustomersByIds(String[] companyNames);

    /**
     * 删除VIEW信息
     *
     * @param companyName VIEWID
     * @return 结果
     */
    public int deleteStatisticCustomersById(String companyName);
}
